<template>
  <div>
    <div v-for="item in items" :key="item.id">
      {{ item }}
    </div>
    <div :class="{ className: data }"></div>

  </div>
</template>

<script>
  f
  export default {
    name: 'test',
    data() {
      return {
        key: value
      }
    },
    watch: {
      data(newValue, oldValue) {

      }
    }

  }
</script>

<style scoped>

</style>